import time
from public.action import *
from public.business import *
from public.testData import *
from public.tools import*
testCase="DBshop010_销售管理退货处理退货"
firefox=openBrowser(urlAdmin) #调用函数打开网址
DBshopLoginAdmin(firefox)
# 2.在订单号查询框输入“1594531607860011”，点击“搜索”按钮。
DBshopEnterMenu2(firefox,'销售管理','退货管理')
from selenium.webdriver.support.select import Select
s=Select(firefox.find_element_by_xpath('//select[@name="refund_type"]'))
s.select_by_index(1)
firefox.find_element_by_xpath('//button[@class="btn btn-small btn-primary" and @type="submit"]').click()
